package cn.edu.zafu.bigdata.x.zhouyuyan.work5;

final class test1{

}
//class test2 extends test1{

//}

class test3{
    public final void finalmethod(){
        System.out.println("Final Method");
    }
}
class test4 extends test3{
    //public final void finalmethod(){
    //    System.out.println("New Final Method");
    //}
}

public class FinalTest {
    private final int a = 1;
    public void changea(){
        //a = 2;
        System.out.println("a:"+a);
    }

    public static void main(String[] args) {
        FinalTest test = new FinalTest();
        test.changea();
    }
}
